<%@page import="java.util.ArrayList"%>
<%@page import="PO.Stuinfo"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib  prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><s:text name="学生信息管理系统-查找"/></title>
         <style type="text/css">
        body {background:url("../image/8.8.jpg");}
        .find_box{width:80%;height:40px; margin-left: 200px; margin-top: 250px;}
       span {color: goldenrod;font-weight: bolder;font-size: 22px; margin-left: 230px;}
       select {	width: 300px;height: 25px;border: 1px solid goldenrod; }
       input { width: 100px;height: 25px; margin-left: 20px; background-color:goldenrod;border: 1px solid goldenrod;   }

        </style>
    </head>
    <body >
        
        <div class="find_box">
        <s:form action="findMessageAction" method="post">
    
                    <span>请选择要修改的电影编号:</span>  
               
                    <select name="id">
                         <%
                            ArrayList list=(ArrayList)session.getAttribute("allInfo");
                            if(list.isEmpty()){
                                %>
                                <option value="null">null</option>
                                <%
                            }else{
                                for(int i=0;i<list.size();i++){
                                    Stuinfo info=(Stuinfo)list.get(i);
                                    %>
                                        <option value="<%=info.getId()%>"><%=info.getId()%></option>
                                    <%
                                    }
                                }
                            %>
                    </select>
                
                   <input type="submit" value="确    认">
         
        </s:form>
        </div>
    </body>
</html>
